{% extends 'theme/default/template/master.html' %}

{% block title %}
{{movie.title}} - 
{% endblock %}

{% block head_soruce %}
	<link type="text/css" rel="stylesheet" href="/static/theme/default/css/index.css">
{% endblock %}

{% block main_content %}
{%if movie%}
	<div class="movie-info">
		<div class="item">
                 <div class="pic"><a class="cover-a" target="_blank" href="/movie/{{movie.id}}/" onclick="moreurl(this, {r1002: 'tag'})"><img src="{{movie.main_pic}}" class="cover"></a></div>
                 <div class="info">
                     <ul>
                         <li class="title"><a target="_blank" href="/movie/{{movie.id}}/" onclick="moreurl(this, {r1002: 'tag'})">{{movie.title}}</a></li>
                         <li><span class="rating40-t"><em>{{movie.douban_rating}}</em></span></li>
                         <li>导演: {{movie.director}}</li>
                         <li>主演: {{movie.stars}} </li>
                         <li>{{movie.launch_date}} {{movie.area}}</li>
                     </ul>
                 </div>
                 <div class="opt">
					{%for playurl in movie.playurl_set.all %}
					<a target="_blank" href="{%url play-movie movie.id %}?pu={{playurl.id}}">{{playurl.source}}播放</a>
					{%endfor%}
				 </div>
            </div>
	</div>
	<div class="clearfix"></div>
{%else%}
	<div>电影不存在</div>
{%endif%}
{% endblock %}